package com.zhpan.indicator.base;

/**
 * 封装计算宽高
 *
 * @since 2021-04-13
 */
public class MeasureResult {

    private int measureWidth;
    private int measureHeight;

    /**
     * 获取测量高度
     *
     * @return 高度
     */
    public int getMeasureHeight() {
        return measureHeight;
    }

    /**
     * 获取测量宽度
     *
     * @return 宽度
     */
    public int getMeasureWidth() {
        return measureWidth;
    }

    /**
     * 设置宽高
     *
     * @param width 宽度
     * @param height 高度
     */
    public void setMeasureResult(int width, int height) {
        this.measureWidth = width;
        this.measureHeight = height;
    }
}
